package com.heima.zuoye.day09.timu3;

import java.io.FileWriter;
import java.io.IOException;

public class WriterTest {
    public static void main(String[] args) throws Exception {
        FileWriter fw = new FileWriter("登鹳雀楼.txt", true);
        fw.write("登鹳雀楼\n王焕之");
        fw.write("\n白日依山尽，\n黄河入海流。\n欲穷千里目。\n更上一层楼。");
        fw.close();
    }
}
